package com.ruoyi.animalManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检疫记录-项目明细对象 lmis_qua_record_item
 */
public class LmisQuaRecordItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long quaRecordItemId;

    /** 主记录ID */
    private Long quaRecordId;

    /** 项目ID */
    @Excel(name = "检疫项目ID")
    private Long quaItemId;

    /** 检测结果（字符串或数值字符串） */
    @Excel(name = "检测结果")
    private String testResult;

    /** 是否合格（1合格 0不合格） */
    @Excel(name = "是否合格")
    private Integer isQualified;

    /** 附件（可存文件URL，逗号分隔） */
    @Excel(name = "附件")
    private String attachment;

    /** 删除标志 */
    private String delFlag;

    public Long getQuaRecordItemId() {
        return quaRecordItemId;
    }

    public void setQuaRecordItemId(Long quaRecordItemId) {
        this.quaRecordItemId = quaRecordItemId;
    }

    public Long getQuaRecordId() {
        return quaRecordId;
    }

    public void setQuaRecordId(Long quaRecordId) {
        this.quaRecordId = quaRecordId;
    }

    public Long getQuaItemId() {
        return quaItemId;
    }

    public void setQuaItemId(Long quaItemId) {
        this.quaItemId = quaItemId;
    }

    public String getTestResult() {
        return testResult;
    }

    public void setTestResult(String testResult) {
        this.testResult = testResult;
    }

    public Integer getIsQualified() {
        return isQualified;
    }

    public void setIsQualified(Integer isQualified) {
        this.isQualified = isQualified;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("quaRecordItemId", getQuaRecordItemId())
            .append("quaRecordId", getQuaRecordId())
            .append("quaItemId", getQuaItemId())
            .append("testResult", getTestResult())
            .append("isQualified", getIsQualified())
            .append("attachment", getAttachment())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}


